#ifndef __I2C_H__
#define __I2C_H__
#define SCL_PIN GPIO_Pin_10
#define SDA_PIN GPIO_Pin_11
void I2C_Periph_Init(void);
void I2C_Master_Write(uint8_t addr,uint8_t *data,int length);
void I2C_Master_Read(uint8_t addr,uint8_t *recBuffer,int length);
void I2C_Soft_Master_Write(uint8_t addr,uint8_t *data,int length);
void I2C_Soft_Master_Read(uint8_t addr,uint8_t *recBuffer,int length);
#endif
